package com.lej.dataservice.club.bean.main.my

/**
 *  author: cjq
 *  date  : 2022/6/12 0012
 *  desc  : 个数;背包id;nft名称;图片;编号;nft_id;1有权益0没权益;有权益的话返回权益两字
 *  {
"code": "",
"msg": "",
"data": {
"list": [{
"id": "背包id",
"name": "nft名称",
"image": "图片",
"number": "编号",
"nft_id": "nft_id",
"have_rights": "1有权益0没权益",
"rights": "有权益的话返回权益两字",
"middle_time": "转移中，到账时间戳，不是转移中值为0",
"middle_status": "0:正常，1转移中"
}],
"page": "第几页"
}
}
 */
data class MyCollectInfo(
    val count: Int?,
    val id: Int?,
    val name: String?,
    val image: String?,
    val number: String?,
    val nft_id: Int?,
    val have_rights: Int?,
    val rights: String?,
    val middle_time:Int?,
    val middle_status:Int?
){
    fun isTrans() = middle_status == 1

    fun getTime() = middle_time?:-1
}
